/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package ohos.app.ability.start_options
import ohos.app.ability.ability_constant.*
import ohos.app.ability.completion_handler.*
import ohos.app.ability.context_constant.*
import ohos.bundle.bundle_manager.SupportWindowMode
import ohos.multimedia.image.PixelMap
import ohos.labels.*


/**
* StartOptions is the basic communication component of the system.
*
* @relation export default class StartOptions
*/
@!APILevel[
    22,
    syscap: "SystemCapability.Ability.AbilityRuntime.Core"
]
public open class StartOptions {
    /**
    * The type of WindowMode
    * WindowModeSplitPrimary and WindowModeSplitSecondary are
    * valid only in intra-app redirection scenarios.
    *
    * @relation windowMode?: number
    */
    @!APILevel[
        22,
        syscap: "SystemCapability.Ability.AbilityRuntime.Core"
    ]
    public var windowMode: ?WindowMode
    
    /**
    * The type of displayId
    *
    * @relation displayId?: number
    */
    @!APILevel[
        22,
        syscap: "SystemCapability.Ability.AbilityRuntime.Core"
    ]
    public var displayId: Int32
    
    /**
    * StartOptions constructor.
    */
    @!APILevel[
        22,
        syscap: "SystemCapability.Ability.AbilityRuntime.Core"
    ]
    public init(
        windowMode!: ?WindowMode = None,
        displayId!: Int32 = 0
    )
}


